home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
SNIP0492.ARJ
/
WINDCHIL.C
< prev
next >
Wrap
C/C++ Source or Header
|
1991-09-23
|
210b
|
8 lines
#include <math.h>
float wind_chill(int wind_speed, int temp)
{
return (((10.45 + (6.686112 * sqrt((double) wind_speed))
- (.447041 * wind_speed)) / 22.034 * (temp - 91.4)) + 91.4);
}